package com.edu.bean;/*
 *@Autor:yjy
 *@Date:2025/10/17:17:25:
 *
 */

public class ProjectMember {
    private int id;
    private int projectId;
    private int employeeId;
    private String role;
    private Employee employee;
    private Project project;

    public ProjectMember() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getProjectId() {
        return projectId;
    }

    public void setProjectId(int projectId) {
        this.projectId = projectId;
    }

    public int getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(int employeeId) {
        this.employeeId = employeeId;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public Employee getEmployee() {
        return employee;
    }

    public void setEmployee(Employee employee) {
        this.employee = employee;
    }

    public Project getProject() {
        return project;
    }

    public void setProject(Project project) {
        this.project = project;
    }

    @Override
    public String toString() {
        return "ProjectMember{" +
                "id=" + id +
                ", projectId=" + projectId +
                ", employeeId=" + employeeId +
                ", role='" + role + '\'' +
                ", employee=" + employee +
                ", project=" + project +
                '}';
    }
}
